<legend class='hyc-legend'>
    <span>车型列表</span>
</legend>
<div class="row">
    <div class="col-md-2 text-right top7">车型分类编号</div>
    <div class="col-md-2">
        <div class="form-group">
            <input type="text" class="form-control hyc-color" placeholder="分类编号" ng-model="carType.typeCode">
        </div>
    </div>
    <div class="col-md-2 text-right top7">车型分类名称</div>
    <div class="col-md-2">
        <div class="form-group">
            <input type="text" class="form-control hyc-color" placeholder="分类名称" ng-model="carType.typeName">
        </div>
    </div>
    <div class="col-md-2 text-right top7">准驾驾照类型</div>
    <div class="col-md-2">
        <div class="form-group">
            <button type="button" class="btn btn-default admin-select select hyc-width" ng-model="carType.licenseType" bs-options="license.licenseType as license.licenseName for license in licenseTypeList" bs-select placeholder="---选择驾照类型---">
            </button>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-md-2 text-right top7">燃油类型</div>
    <div class="col-md-2">
        <div class="form-group">
            <button type="button" class="btn btn-default admin-select select hyc-width" ng-model="carType.fuelTypeId" bs-options="fuelType.id as fuelType.fuelName for fuelType in fuelTypeList" bs-select placeholder="---选择燃油类型---">
            </button>
        </div>
    </div>
    <div class="col-md-2 text-right top7">百公里油耗</div>
    <div class="col-md-2">
        <div class="form-group">
            <input type="text" class="form-control hyc-color" placeholder="百公里油耗" ng-model="carType.fuelConsumption">
        </div>
    </div>
    <div class="col-md-4 text-right top7">
        <div class="form-group text-center">
            <div class="btn btn-default btn-sm btn-warning" ng-click="loadData('query')">查询</div>&nbsp;&nbsp;&nbsp;
            <div class="btn btn-default btn-sm" ng-click="clearQuery()">重置</div>&nbsp;&nbsp;&nbsp;
            <div class="btn btn-default btn-sm btn-warning" ng-click="showAddDlg()">新增</div>
        </div>
    </div>
</div>
<table class="table table-bordered" style="margin-top: 20px;">
    <tr>
        <th class="text-left">车型分类编号</th>
        <th class="text-left">车型分类名称</th>
        <th class="text-center">准驾驾照类型</th>
        <th class="text-center">燃油类型</th>
        <th class="text-center">百公里油耗</th>
        <th class="text-center">操作</th>
    </tr>
    <tr ng-repeat="item in carTypeList track by $index" ng-if="carTypeList.length > 0">
        <td class="text-left">{{item.typeCode}}</td>
        <td class="text-left">{{item.typeName}}</td>
        <td class="text-center">{{item.licenseType}}</td>
        <td class="text-center">{{item.fuelTypeName}}</td>
        <td class="text-center">{{item.fuelConsumption}}</td>
        <td class="text-center">
            <a ng-click="showUpdateDlg(item)" class="hyc-cursor-decoration">修改</a>
        </td>
    </tr>
    <tr ng-if="carTypeList.length <= 0">
        <td class="text-center" colspan="6">暂无符合条件数据</td>
    </tr>
</table>
<div ng-include="pageIncludeUrl" ng-if="carTypeList.length > 0"></div>